{% extends "account/base.html" %}


{% block title %}注销{% endblock %}

{% block content %}
    <h1>注销</h1>
    <p>您确定要注销吗?</p>
    <form action="{% url 'account_logout' %}" method="post">
        {% csrf_token %}
        {% if redirect_field_value %}
        <input name="{{ redirect_field_name }}" type="hidden" value="{{ redirect_field_value }}"/>
        {% endif %}
        <button class="btn btn-outline-primary" type="submit">注销</button>
    </form>

{% endblock %}
